From: kaf24@firebug.cl.cam.ac.uk Date: Thu, 25 May 2006 15:00:09 +0000 (+0100) Subject: Fix x86/64 build after previous changeset. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16025^2~12 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=e4813816b2633ae4ec58f1e23b6f675ac009d5dc;p=xen.git Fix x86/64 build after previous changeset. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/x86_emulate.c b/xen/arch/x86/x86_emulate.c index b978ae1ef8..c829128e91 100644 --- a/xen/arch/x86/x86_emulate.c +++ b/xen/arch/x86/x86_emulate.c @@ -1103,7 +1103,7 @@ x86_emulate_memop( #elif defined(__x86_64__) { unsigned long old, new; - if ( (rc = ops->read_emulated(cr2, &old, 8)) != 0 ) + if ( (rc = ops->read_emulated(cr2, &old, 8, ctxt)) != 0 ) goto done; if ( ((uint32_t)(old>>0) != (uint32_t)_regs.eax) || ((uint32_t)(old>>32) != (uint32_t)_regs.edx) ) @@ -1115,7 +1115,7 @@ x86_emulate_memop( else { new = (_regs.ecx<<32)|(uint32_t)_regs.ebx; - if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8)) != 0 ) + if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8, ctxt)) != 0 ) goto done; _regs.eflags |= EFLG_ZF; }